import request from '../utils/serve'
// import md5 from 'js-md5'

export function logOut(userId, token) {
  return request({
    url: 'user-api/employee/logout',
    method: 'post',
    data: {
      userId: userId,
      token: token
    }
  })
}

export function loginOut(param = {}) { // 注销：（根据token）
  return request({
    url: 'user-center/loginOut',
    method: 'post',
    data: param
  })
}
